﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 培训心得/总结
    /// </summary>
    [SugarTable("CourseSummary")]
    public class CourseSummaryEntity
    {
        /// <summary>
        /// 主键 
        /// </summary>
        [SugarColumn(ColumnName = "CourseSummaryId", IsPrimaryKey = true)]
        public string CourseSummaryId { get; set; }

        /// <summary>
        /// 主表ID 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainId")]
        public string CourseTrainId { get; set; }

        /// <summary>
        /// 流程号 
        /// </summary>
        [SugarColumn(ColumnName = "InstanceNumber")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 开始日期 
        /// </summary>
        [SugarColumn(ColumnName = "BeginTime")]
        public DateTime? BeginTime { get; set; }

        /// <summary>
        /// 结束日期 
        /// </summary>
        [SugarColumn(ColumnName = "EndTime")]
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 正文 
        /// </summary>
        [SugarColumn(ColumnName = "Content")]
        public string Content { get; set; }

        /// <summary>
        /// 报告ID 
        /// </summary>
        [SugarColumn(ColumnName = "ReportId")]
        public string ReportId { get; set; }

        /// <summary>
        /// 报告名称 
        /// </summary>
        [SugarColumn(ColumnName = "ReportName")]
        public string ReportName { get; set; }

        /// <summary>
        /// 1:培训心得；2:培训总结 
        /// </summary>
        [SugarColumn(ColumnName = "SummaryType")]
        public int? SummaryType { get; set; }

        /// <summary>
        /// 导师名称 
        /// </summary>
        public string MentorName { get; set; }

        /// <summary>
        /// 建表时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 排序 
        /// </summary>
        public int KeyIndex { get; set; }

        /// <summary>
        /// 状态（3:审批中，4:审批通过，-1:退回，撤回 ）
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 状态（3:审批中，4:审批通过，-1:退回，撤回 ）
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 直接主管评价
        /// </summary>
        public string ManageRemark { get; set; }
    }
}
